PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Jewel / $$$ Royal - Mashup (151).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=0.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.050 |
| 88 | wave_0_init1=t1 = .2 + .6*rand(1001)*.001; |
| 89 | wave_0_init2=t2 = .2 + .6*rand(1001)*.001; |
| 90 | wave_0_init3=t3 = .2 + .6*rand(1001)*.001; |
| 91 | wave_0_init4=t4 = .2 + .6*rand(1001)*.001; |
| 92 | wave_0_init5=t5 = .2 + .6*rand(1001)*.001; |
| 93 | wave_0_init6=t6 = .2 + .6*rand(1001)*.001; |
| 94 | wave_0_init7=t7 = .2 + .6*rand(1001)*.001; |
| 95 | wave_0_init8=t8 = .2 + .6*rand(1001)*.001; |
| 96 | wave_0_per_point1=ti = q1; |
| 97 | wave_0_per_point2= |
| 98 | wave_0_per_point3=xa = .25 + .25*sin(ti*t1); |
| 99 | wave_0_per_point4=xb = .25 + .25*sin(ti*t2); |
| 100 | wave_0_per_point5=xc = .25 + .25*sin(ti*t3); |
| 101 | wave_0_per_point6=xd = .25 + .25*sin(ti*t4); |
| 102 | wave_0_per_point7= |
| 103 | wave_0_per_point8=ya = .25 + .25*sin(ti*t5); |
| 104 | wave_0_per_point9=yb = .25 + .25*sin(ti*t6); |
| 105 | wave_0_per_point10=yc = .25 + .25*sin(ti*t7); |
| 106 | wave_0_per_point11=yd = .25 + .25*sin(ti*t8); |
| 107 | wave_0_per_point12= |
| 108 | wave_0_per_point13= |
| 109 | wave_0_per_point14=it = (it + 1)*above(sample,0); |
| 110 | wave_0_per_point15=sw = (1-sw)*above(sample,0); |
| 111 | wave_0_per_point16= |
| 112 | wave_0_per_point17=sa = 1-sample; |
| 113 | wave_0_per_point18=x = if(sw,xa*sample + sa*xb,xc*sample + xd*sa); |
| 114 | wave_0_per_point19=y = if(sw,ya*sample + sa*yb,yc*sample + yd*sa); |
| 115 | wave_0_per_point20= |
| 116 | wave_0_per_point21=y = .5 - y*(.5-x)*2; |
| 117 | wave_0_per_point22= |
| 118 | wave_0_per_point23= |
| 119 | wave_0_per_point24=ti = q4; |
| 120 | wave_0_per_point25=r = .5 + .5*sin(ti); |
| 121 | wave_0_per_point26=g = .5 + .5*sin(ti + 2.0944); |
| 122 | wave_0_per_point27=b = .5 + .5*sin(ti + 4.1888); |
| 123 | wave_0_per_point28= |
| 124 | wave_0_per_point29=a = q5; |
| 125 | wavecode_1_enabled=1 |
| 126 | wavecode_1_samples=512 |
| 127 | wavecode_1_sep=0 |
| 128 | wavecode_1_bSpectrum=0 |
| 129 | wavecode_1_bUseDots=0 |
| 130 | wavecode_1_bDrawThick=0 |
| 131 | wavecode_1_bAdditive=1 |
| 132 | wavecode_1_scaling=1.00000 |
| 133 | wavecode_1_smoothing=0.50000 |
| 134 | wavecode_1_r=0.000 |
| 135 | wavecode_1_g=1.000 |
| 136 | wavecode_1_b=0.000 |
| 137 | wavecode_1_a=0.050 |
| 138 | wave_1_init1=t1 = .2 + .6*rand(1001)*.001; |
| 139 | wave_1_init2=t2 = .2 + .6*rand(1001)*.001; |
| 140 | wave_1_init3=t3 = .2 + .6*rand(1001)*.001; |
| 141 | wave_1_init4=t4 = .2 + .6*rand(1001)*.001; |
| 142 | wave_1_init5=t5 = .2 + .6*rand(1001)*.001; |
| 143 | wave_1_init6=t6 = .2 + .6*rand(1001)*.001; |
| 144 | wave_1_init7=t7 = .2 + .6*rand(1001)*.001; |
| 145 | wave_1_init8=t8 = .2 + .6*rand(1001)*.001; |
| 146 | wave_1_per_point1=ti = q2; |
| 147 | wave_1_per_point2= |
| 148 | wave_1_per_point3=xa = .25 + .25*sin(ti*t1); |
| 149 | wave_1_per_point4=xb = .25 + .25*sin(ti*t2); |
| 150 | wave_1_per_point5=xc = .25 + .25*sin(ti*t3); |
| 151 | wave_1_per_point6=xd = .25 + .25*sin(ti*t4); |
| 152 | wave_1_per_point7= |
| 153 | wave_1_per_point8=ya = .25 + .25*sin(ti*t5); |
| 154 | wave_1_per_point9=yb = .25 + .25*sin(ti*t6); |
| 155 | wave_1_per_point10=yc = .25 + .25*sin(ti*t7); |
| 156 | wave_1_per_point11=yd = .25 + .25*sin(ti*t8); |
| 157 | wave_1_per_point12= |
| 158 | wave_1_per_point13= |
| 159 | wave_1_per_point14=it = (it + 1)*above(sample,0); |
| 160 | wave_1_per_point15=sw = (1-sw)*above(sample,0); |
| 161 | wave_1_per_point16= |
| 162 | wave_1_per_point17=sa = 1-sample; |
| 163 | wave_1_per_point18=x = if(sw,xa*sample + sa*xb,xc*sample + xd*sa); |
| 164 | wave_1_per_point19=y = if(sw,ya*sample + sa*yb,yc*sample + yd*sa); |
| 165 | wave_1_per_point20= |
| 166 | wave_1_per_point21=y = .5 - y*(.5-x)*2; |
| 167 | wave_1_per_point22= |
| 168 | wave_1_per_point23=ti = q4 + 2.0944; |
| 169 | wave_1_per_point24=r = .5 + .5*sin(ti); |
| 170 | wave_1_per_point25=g = .5 + .5*sin(ti + 2.0944); |
| 171 | wave_1_per_point26=b = .5 + .5*sin(ti + 4.1888); |
| 172 | wave_1_per_point27= |
| 173 | wave_1_per_point28=a = q6; |
| 174 | wavecode_2_enabled=1 |
| 175 | wavecode_2_samples=512 |
| 176 | wavecode_2_sep=0 |
| 177 | wavecode_2_bSpectrum=0 |
| 178 | wavecode_2_bUseDots=0 |
| 179 | wavecode_2_bDrawThick=0 |
| 180 | wavecode_2_bAdditive=1 |
| 181 | wavecode_2_scaling=1.00000 |
| 182 | wavecode_2_smoothing=0.50000 |
| 183 | wavecode_2_r=1.000 |
| 184 | wavecode_2_g=0.000 |
| 185 | wavecode_2_b=0.000 |
| 186 | wavecode_2_a=0.050 |
| 187 | wave_2_init1=t1 = .2 + .6*rand(1001)*.001; |
| 188 | wave_2_init2=t2 = .2 + .6*rand(1001)*.001; |
| 189 | wave_2_init3=t3 = .2 + .6*rand(1001)*.001; |
| 190 | wave_2_init4=t4 = .2 + .6*rand(1001)*.001; |
| 191 | wave_2_init5=t5 = .2 + .6*rand(1001)*.001; |
| 192 | wave_2_init6=t6 = .2 + .6*rand(1001)*.001; |
| 193 | wave_2_init7=t7 = .2 + .6*rand(1001)*.001; |
| 194 | wave_2_init8=t8 = .2 + .6*rand(1001)*.001; |
| 195 | wave_2_per_point1=ti = q3; |
| 196 | wave_2_per_point2= |
| 197 | wave_2_per_point3=xa = .25 + .25*sin(ti*t1); |
| 198 | wave_2_per_point4=xb = .25 + .25*sin(ti*t2); |
| 199 | wave_2_per_point5=xc = .25 + .25*sin(ti*t3); |
| 200 | wave_2_per_point6=xd = .25 + .25*sin(ti*t4); |
| 201 | wave_2_per_point7= |
| 202 | wave_2_per_point8=ya = .25 + .25*sin(ti*t5); |
| 203 | wave_2_per_point9=yb = .25 + .25*sin(ti*t6); |
| 204 | wave_2_per_point10=yc = .25 + .25*sin(ti*t7); |
| 205 | wave_2_per_point11=yd = .25 + .25*sin(ti*t8); |
| 206 | wave_2_per_point12= |
| 207 | wave_2_per_point13= |
| 208 | wave_2_per_point14=it = (it + 1)*above(sample,0); |
| 209 | wave_2_per_point15=sw = (1-sw)*above(sample,0); |
| 210 | wave_2_per_point16= |
| 211 | wave_2_per_point17=sa = 1-sample; |
| 212 | wave_2_per_point18=x = if(sw,xa*sample + sa*xb,xc*sample + xd*sa); |
| 213 | wave_2_per_point19=y = if(sw,ya*sample + sa*yb,yc*sample + yd*sa); |
| 214 | wave_2_per_point20= |
| 215 | wave_2_per_point21=y = .5 - y*(.5-x)*2; |
| 216 | wave_2_per_point22= |
| 217 | wave_2_per_point23=ti = q4 + 4.1888; |
| 218 | wave_2_per_point24=r = .5 + .5*sin(ti); |
| 219 | wave_2_per_point25=g = .5 + .5*sin(ti + 2.0944); |
| 220 | wave_2_per_point26=b = .5 + .5*sin(ti + 4.1888); |
| 221 | wave_2_per_point27=a = q7; |
| 222 | wavecode_3_enabled=0 |
| 223 | wavecode_3_samples=512 |
| 224 | wavecode_3_sep=0 |
| 225 | wavecode_3_bSpectrum=0 |
| 226 | wavecode_3_bUseDots=0 |
| 227 | wavecode_3_bDrawThick=0 |
| 228 | wavecode_3_bAdditive=0 |
| 229 | wavecode_3_scaling=1.00000 |
| 230 | wavecode_3_smoothing=0.50000 |
| 231 | wavecode_3_r=1.000 |
| 232 | wavecode_3_g=1.000 |
| 233 | wavecode_3_b=1.000 |
| 234 | wavecode_3_a=1.000 |
| 235 | shapecode_0_enabled=1 |
| 236 | shapecode_0_sides=4 |
| 237 | shapecode_0_additive=0 |
| 238 | shapecode_0_thickOutline=0 |
| 239 | shapecode_0_textured=1 |
| 240 | shapecode_0_num_inst=1 |
| 241 | shapecode_0_x=0.500 |
| 242 | shapecode_0_y=0.500 |
| 243 | shapecode_0_rad=1.97883 |
| 244 | shapecode_0_ang=0.00000 |
| 245 | shapecode_0_tex_ang=0.00000 |
| 246 | shapecode_0_tex_zoom=1.00000 |
| 247 | shapecode_0_r=1.000 |
| 248 | shapecode_0_g=1.000 |
| 249 | shapecode_0_b=1.000 |
| 250 | shapecode_0_a=1.000 |
| 251 | shapecode_0_r2=1.000 |
| 252 | shapecode_0_g2=1.000 |
| 253 | shapecode_0_b2=1.000 |
| 254 | shapecode_0_a2=1.000 |
| 255 | shapecode_0_border_r=1.000 |
| 256 | shapecode_0_border_g=1.000 |
| 257 | shapecode_0_border_b=1.000 |
| 258 | shapecode_0_border_a=0.000 |
| 259 | shape_0_per_frame1=tex_zoom = 1/rad; |
| 260 | shape_0_per_frame2= |
| 261 | shape_0_per_frame3=a = .7; |
| 262 | shape_0_per_frame4=a2 = a; |
| 263 | shapecode_1_enabled=0 |
| 264 | shapecode_1_sides=54 |
| 265 | shapecode_1_additive=0 |
| 266 | shapecode_1_thickOutline=0 |
| 267 | shapecode_1_textured=0 |
| 268 | shapecode_1_num_inst=1 |
| 269 | shapecode_1_x=0.150 |
| 270 | shapecode_1_y=0.390 |
| 271 | shapecode_1_rad=0.04084 |
| 272 | shapecode_1_ang=0.00000 |
| 273 | shapecode_1_tex_ang=0.00000 |
| 274 | shapecode_1_tex_zoom=1.00000 |
| 275 | shapecode_1_r=0.000 |
| 276 | shapecode_1_g=0.000 |
| 277 | shapecode_1_b=1.000 |
| 278 | shapecode_1_a=1.000 |
| 279 | shapecode_1_r2=1.000 |
| 280 | shapecode_1_g2=0.000 |
| 281 | shapecode_1_b2=0.000 |
| 282 | shapecode_1_a2=0.000 |
| 283 | shapecode_1_border_r=1.000 |
| 284 | shapecode_1_border_g=1.000 |
| 285 | shapecode_1_border_b=1.000 |
| 286 | shapecode_1_border_a=0.100 |
| 287 | shapecode_2_enabled=0 |
| 288 | shapecode_2_sides=4 |
| 289 | shapecode_2_additive=0 |
| 290 | shapecode_2_thickOutline=0 |
| 291 | shapecode_2_textured=0 |
| 292 | shapecode_2_num_inst=1 |
| 293 | shapecode_2_x=0.500 |
| 294 | shapecode_2_y=0.500 |
| 295 | shapecode_2_rad=0.10000 |
| 296 | shapecode_2_ang=0.00000 |
| 297 | shapecode_2_tex_ang=0.00000 |
| 298 | shapecode_2_tex_zoom=1.00000 |
| 299 | shapecode_2_r=1.000 |
| 300 | shapecode_2_g=0.000 |
| 301 | shapecode_2_b=0.000 |
| 302 | shapecode_2_a=1.000 |
| 303 | shapecode_2_r2=0.000 |
| 304 | shapecode_2_g2=1.000 |
| 305 | shapecode_2_b2=0.000 |
| 306 | shapecode_2_a2=0.000 |
| 307 | shapecode_2_border_r=1.000 |
| 308 | shapecode_2_border_g=1.000 |
| 309 | shapecode_2_border_b=1.000 |
| 310 | shapecode_2_border_a=0.100 |
| 311 | shapecode_3_enabled=0 |
| 312 | shapecode_3_sides=4 |
| 313 | shapecode_3_additive=0 |
| 314 | shapecode_3_thickOutline=0 |
| 315 | shapecode_3_textured=0 |
| 316 | shapecode_3_num_inst=1 |
| 317 | shapecode_3_x=0.500 |
| 318 | shapecode_3_y=0.500 |
| 319 | shapecode_3_rad=0.10000 |
| 320 | shapecode_3_ang=0.00000 |
| 321 | shapecode_3_tex_ang=0.00000 |
| 322 | shapecode_3_tex_zoom=1.00000 |
| 323 | shapecode_3_r=1.000 |
| 324 | shapecode_3_g=0.000 |
| 325 | shapecode_3_b=0.000 |
| 326 | shapecode_3_a=1.000 |
| 327 | shapecode_3_r2=0.000 |
| 328 | shapecode_3_g2=1.000 |
| 329 | shapecode_3_b2=0.000 |
| 330 | shapecode_3_a2=0.000 |
| 331 | shapecode_3_border_r=1.000 |
| 332 | shapecode_3_border_g=1.000 |
| 333 | shapecode_3_border_b=1.000 |
| 334 | shapecode_3_border_a=0.100 |
| 335 | per_frame_init_1=vol = 0; p1 = 0; |
| 336 | per_frame_init_2=vx = .2; vy = -0.1; |
| 337 | per_frame_init_3=kx = 0; ky = 0; |
| 338 | per_frame_init_4= |
| 339 | per_frame_1=chng=sin(time*.5); |
| 340 | per_frame_2=cthr=.9999; |
| 341 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 342 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 343 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 344 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 345 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 346 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 347 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 348 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 349 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 350 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 351 | per_frame_13=monitor=chng; |
| 352 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 353 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 354 | per_frame_16= |
| 355 | per_frame_17=monitor=mq1; |
| 356 | per_frame_18=vol=bass+treb+mid; |
| 357 | per_frame_19=atime=atime+vol; |
| 358 | per_frame_20=q1=.4+sin(atime*.006 )*.4; |
| 359 | per_frame_21=q2=.4+cos(atime*.00613828348)*.4; |
| 360 | per_frame_22=q3=.4+sin(atime*.00598593455)*.4; |
| 361 | per_frame_23=monitor=q3; |
| 362 | per_frame_24= |
| 363 | per_frame_25=dec_med = pow (0.96, 30/fps); |
| 364 | per_frame_26=dec_slow = pow (0.98, 30/fps); |
| 365 | per_frame_27=beat = max (max (bass, mid), treb); |
| 366 | per_frame_28=avg = avg*dec_slow + beat*(1-dec_slow); |
| 367 | per_frame_29=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2); |
| 368 | per_frame_30=t0 = is_beat*time + (1-is_beat)*t0; |
| 369 | per_frame_31=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 370 | per_frame_32=index = (index + is_beat) %8; |
| 371 | per_frame_33=index2 = (index2 + is_beat*bnot(index))%2; |
| 372 | per_frame_34=index3 = (index3 + is_beat*bnot(index) * bnot(index2))%2; |
| 373 | per_frame_35= |
| 374 | per_frame_36=q20 = avg; |
| 375 | per_frame_37=q21 = beat; |
| 376 | per_frame_38=q22 = peak; |
| 377 | per_frame_39=q23 = index; |
| 378 | per_frame_40=q24 = is_beat; |
| 379 | per_frame_41= |
| 380 | per_frame_42=vol = bass_att + treb_att; |
| 381 | per_frame_43=v2 = v2 * dec_slow + vol * (1-dec_slow) ; |
| 382 | per_frame_44=q26 = max(atan (vol - v2*.8),.3); |
| 383 | per_frame_45= |
| 384 | per_frame_46=q27 = index + 1; |
| 385 | per_frame_47= |
| 386 | per_frame_48=sw = sw*dec_med + (1-dec_med)*(index2%2); |
| 387 | per_frame_49=q28 = sw; |
| 388 | per_frame_50= |
| 389 | per_frame_51=k1 = is_beat*bnot(index*20); |
| 390 | per_frame_52=k2 = is_beat*bnot(index); |
| 391 | per_frame_53= |
| 392 | per_frame_54=p1 = k1*(p1+1) + (1-k1)*p1; |
| 393 | per_frame_55=p2 = dec_slow * p2+ (1-dec_slow)*p1; |
| 394 | per_frame_56=rott = p2 * 3.1416/2; |
| 395 | per_frame_57=monitor = k1; |
| 396 | per_frame_58=q1 = cos(rott); |
| 397 | per_frame_59=q2 = sin(rott); |
| 398 | per_frame_60=q3 = -q2; |
| 399 | per_frame_61=q4 = q1; |
| 400 | per_frame_62= |
| 401 | per_frame_63= |
| 402 | per_frame_64=q5 = cos(time/6); |
| 403 | per_frame_65=q6 = -sin(time/6); |
| 404 | per_frame_66=q7 = -q6; |
| 405 | per_frame_67=q8 = q5; |
| 406 | per_frame_68= |
| 407 | per_frame_69=zoom = 1; |
| 408 | per_frame_70=rot = -0; |
| 409 | per_frame_71= |
| 410 | per_frame_72=movez = movez + .006*(q1+1.1)*30/fps; |
| 411 | per_frame_73=q29 = movez; |
| 412 | per_frame_74=rota = rota + .003*(2-q1)*30/fps; |
| 413 | per_frame_75=q30 = rota; |
| 414 | per_frame_76=q31 = 2 + 16*abs(cos(time/18)); |
| 415 | per_frame_77=q32 = cos(time/23)/4; |
| 416 | per_frame_78= |
| 417 | per_frame_79= |
| 418 | per_frame_80= |
| 419 | per_frame_81=q32=aspecty; |
| 420 | per_frame_82=vol=bass+treb+mid; |
| 421 | per_frame_83=atime=atime+vol; |
| 422 | per_frame_84=q8=atime*.01; |
| 423 | per_frame_85=q1=vol*1.5; |
| 424 | per_frame_86=q23=atime*.1; |
| 425 | warp_1=`float3 mus; |
| 426 | warp_2=`float2 rs, uv1, uv6, uv7, uv8; |
| 427 | warp_3=`float dx,dy; |
| 428 | warp_4=`shader_body { |
| 429 | warp_5=`uv = uv_orig; |
| 430 | warp_6=`uv1 = (uv-.5) * aspect.xy; |
| 431 | warp_7=` |
| 432 | warp_8=`//BACKGROUND |
| 433 | warp_9=`float z = 16*length(uv1)+time; |
| 434 | warp_10=`float2 uvn =normalize(uv1); |
| 435 | warp_11=`rs = clamp(tan(z)*uvn,-5,5)/2; |
| 436 | warp_12=` |
| 437 | warp_13=`//CRYSTAL |
| 438 | warp_14=`float mult = q31; |
| 439 | warp_15=`uv7 = sin(uv1*mult); |
| 440 | warp_16=`uv8 = uv7; |
| 441 | warp_17=`float dist = length(uv8); |
| 442 | warp_18=`dist *= (abs(uv1.x) + abs(uv1.y))+ q32; |
| 443 | warp_19=` |
| 444 | warp_20=`float ang2 = atan2 (uv8.y,uv8.x); |
| 445 | warp_21=`ang2 = .1*floor (16* ang2); |
| 446 | warp_22=`float2 dir = .5*uv8+float2 (cos(ang2), sin(ang2)); |
| 447 | warp_23=` |
| 448 | warp_24=` |
| 449 | warp_25=`z = (1-cos(8*dist)); |
| 450 | warp_26=`z = saturate (z); |
| 451 | warp_27=` |
| 452 | warp_28=`//ADD |
| 453 | warp_29=`float mask = (z >= .5); //momentan beliebig |
| 454 | warp_30=`rs = q28*rs + (1-q28)*rs.yx; |
| 455 | warp_31=`uv += (1-mask)*.03*(rs.yx) + .5*mask*z*normalize(dir); |
| 456 | warp_32=` |
| 457 | warp_33=`//ZENTRALSTRAHL |
| 458 | warp_34=`uv6 = mul (uv1,float2x2(_qb)); |
| 459 | warp_35=`mus = abs(0.01/(sqrt(uv6.x)+.001))*(rad+.2); |
| 460 | warp_36=` |
| 461 | warp_37=`//DOTS |
| 462 | warp_38=`float2 uv2 = .7*uv1+.3*sin(uv1*16+4*float2 (q5,q6)); |
| 463 | warp_39=`uv2 *= .2; |
| 464 | warp_40=`float3 dots = q26*saturate(.001/(length(uv2))); |
| 465 | warp_41=`float3 blur = GetBlur1(frac(uv)); |
| 466 | warp_42=`float3 crisp= GetPixel(uv); |
| 467 | warp_43=`float3 diff = (crisp) - .5*blur; |
| 468 | warp_44=`float3 ret1 = crisp + mus + dots; |
| 469 | warp_45=` |
| 470 | warp_46=`float3 mod = tex2D (sampler_noise_lq,.5*uv+time*.01)-.2; |
| 471 | warp_47=`mod = 1 - mod*diff; |
| 472 | warp_48=` |
| 473 | warp_49=`ret = (1-mask)*ret1*mod + mask*ret1*mod; |
| 474 | warp_50=`ret = ret *.98- .03; |
| 475 | warp_51=` |
| 476 | warp_52=`} |
| 477 | comp_1=`float3 ret1, neu, crisp, blur; |
| 478 | comp_2=`float2 uv2, uv3; |
| 479 | comp_3=` |
| 480 | comp_4=`shader_body |
| 481 | comp_5=`{ |
| 482 | comp_6=`float ang2, c, s; |
| 483 | comp_7=`uv -= 0.5; |
| 484 | comp_8=`uv *= aspect.xy; |
| 485 | comp_9=` |
| 486 | comp_10=`float2 tmp = uv; |
| 487 | comp_11=`float dist = 1; |
| 488 | comp_12=`float inten = 1; |
| 489 | comp_13=`float mask = 0; |
| 490 | comp_14=`ret1 = 0; |
| 491 | comp_15=`int anz = 3; |
| 492 | comp_16=`float n = 0; |
| 493 | comp_17=`float t_rel = q29; |
| 494 | comp_18=`while (n <= anz) { |
| 495 | comp_19=` ang2 = 6.28*n/anz+q30; |
| 496 | comp_20=` c = cos(ang2); |
| 497 | comp_21=` s = sin(ang2); |
| 498 | comp_22=` uv2.x = uv.x*c - uv.y*s; |
| 499 | comp_23=` uv2.y = uv.x*s + uv.y*c; |
| 500 | comp_24=` uv2*= aspect.yx; |
| 501 | comp_25=` |
| 502 | comp_26=` dist = 1-frac(n/anz+t_rel); //evtl sqrt ! |
| 503 | comp_27=` |
| 504 | comp_28=` inten = 4*dist*(1-dist*dist); |
| 505 | comp_29=` uv3 = 3*uv2*dist + 0.5+.0*float2(q5,q6); |
| 506 | comp_30=` crisp = GetPixel(uv3); |
| 507 | comp_31=` blur = GetBlur1(frac(uv3)) * float3 (.8,.9,1); |
| 508 | comp_32=` ret1 = max(ret1,(crisp+blur)*inten); |
| 509 | comp_33=`n++; |
| 510 | comp_34=`} |
| 511 | comp_35=` |
| 512 | comp_36=` |
| 513 | comp_37=`float3 ret1 = ret1 ; |
| 514 | comp_38=`//ret1 = GetPixel(.5+uv_orig*aspect.yx*1.2); |
| 515 | comp_39=` |
| 516 | comp_40=` |
| 517 | comp_41=`ret = ret1-.1; |
| 518 | comp_42=` |
| 519 | comp_43=`} |